package com.yunke.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * 分销佣金记录VO
 *
 * @author yunke
 * @since 1.0.0
 */
@Data
@Schema(description = "分销佣金记录VO")
public class YunkeDistributorCommissionVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "佣金记录ID")
    private Long id;

    @Schema(description = "分销商ID")
    private Long distributorId;

    @Schema(description = "分销商昵称")
    private String distributorNickname;

    @Schema(description = "订单ID")
    private Long orderId;

    @Schema(description = "订单号")
    private String orderNo;

    @Schema(description = "客户用户ID")
    private Long customerUserId;

    @Schema(description = "客户昵称")
    private String customerNickname;

    @Schema(description = "佣金类型名称")
    private String commissionTypeName;

    @Schema(description = "佣金等级名称")
    private String commissionLevelName;

    @Schema(description = "订单金额")
    private BigDecimal orderAmount;

    @Schema(description = "佣金比例（百分比）")
    private BigDecimal commissionRate;

    @Schema(description = "佣金金额")
    private BigDecimal commissionAmount;

    @Schema(description = "实际佣金金额（扣除税费等）")
    private BigDecimal actualAmount;

    @Schema(description = "佣金状态名称")
    private String commissionStatusName;

    @Schema(description = "结算时间")
    private Long settleTime;

    @Schema(description = "结算批次号")
    private String settleBatchNo;

    @Schema(description = "冻结原因")
    private String freezeReason;

    @Schema(description = "冻结时间")
    private Long freezeTime;

    @Schema(description = "取消原因")
    private String cancelReason;

    @Schema(description = "取消时间")
    private Long cancelTime;

    @Schema(description = "备注信息")
    private String remark;

    @Schema(description = "创建时间")
    private Long createTime;
} 